﻿<template>
  
</template>

<script>
import addressList from "@/components/address-list"
import contactHttp from "@/api/contact"
import cartHttp from "@/api/cart"
import orderHttp from "@/api/order"
import modal from "@/components/modal"

export default {

}
</script>

<style>
.buy {
    margin: 40px auto;
    background-color: #fff;
    padding-top: 30px;
}

.buy > .body {
    padding: 0 24px;
}

.buy > .body .header {
    color: #333;
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 20px;
}

.buy > .body > .products > .list > .item {
    display: flex;
    padding: 15px 0;
    align-items: center;
}

.buy > .body > .products > .list > .item > .img {
    margin-right: 10px;
}

.buy > .body > .products > .list > .item > .img > img {
    width: 30px;
    height: 30px;
}

.buy > .body > .products > .list > .item > .name {
    width: 650px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1;
    color: #424242;
}

.buy > .body > .products > .list > .item > .price-box > span {
    display: inline-block;
}

.buy > .body > .products > .list > .item > .price-box > .price {
    width: 150px;
    text-align: center;
}

.buy > .body > .products > .list > .item > .price-box > .total {
    width: 290px;
    text-align: right;
    color: #ff6700;
}

.buy > .body > .total-price {
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.buy > .body > .total-price > .header {
    padding: 20px 0;
    margin-bottom: 0;
}

.buy > .body > .total-price > .price {
    padding: 0 48px 10px 0;
}

.buy > .body > .total-price > .price > .money {
    color: #ff6700;
}

.buy > .body > .total-price > .price > .money > em {
    font-size: 30px;
}

.buy > .footer {
    min-height: 40px;
    padding: 20px 48px;
    border-top: 2px solid #f5f5f5;
    display: flex;
    position: relative;
}

.buy > .footer > .address {
    line-height: 20px;
    color: #424242;
}

.buy > .footer > .btns {
    position: absolute;
    right: 48px;
}

.buy > .footer > .btns > button:last-child{
    margin-left: 30px;
}

</style>
